package com.jz.community.moduleauthorization.register.ui;

import com.jz.community.basecomm.mvp.MVPContract;
import com.jz.community.basecomm.bean.LoginInfo;
import com.jz.community.moduleauthorization.register.bean.RegisterInfo;

import java.util.HashMap;

/**
 * Created by Tony.Fan on 2018/3/20 15:47
 */
public interface RegisterView extends MVPContract {

    interface View extends MVPContract.View {

        void showLoginInfo(LoginInfo loginInfo);

        void showSmsCodeInfo(LoginInfo baseResponseInfo);

        void showRegisterInfo(RegisterInfo registerInfo);

        void showError();
    }

    interface Presenter extends MVPContract.Presenter<RegisterView.View> {
        @Override
        void setPresenter(RegisterView.View v);

        void getRegisterInfo(HashMap<String, String> map);

        void getLoginInfo(String mobi, String password, String loginType, String params, String deviceId, String registrationId);

        void getLoginSmsCode(String mobi, String type);
    }
}
